package video.com.mapper;

import org.apache.ibatis.annotations.Param;
import video.com.entity.Tag;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xwj
 * @since 2024-03-05
 */
public interface TagMapper extends BaseMapper<Tag> {

    List<Tag> getTagListByVid(@Param("vid") String vid);

    void batchInsetIntoVideoTag(@Param("tagIds") List<String> tagIds, @Param("videoId") String videoId);
}
